import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/job_responsibilities_list_entity.g.dart';


@JsonSerializable()
class JobResponsibilitiesListEntity {

	JobResponsibilitiesListEntity();

	factory JobResponsibilitiesListEntity.fromJson(Map<String, dynamic> json) => $JobResponsibilitiesListEntityFromJson(json);
	String? allocationId;
	String? allocationName;
	String? allocationType;
	String? checkCycle;
	String? checkCycleUnit;
	String? checkCycleUnitLabel;
	String? checkMeans;
	String? companyCode;
	String? controlMeasures;
	String? controlMeasuresLabel;
	int? controllable;
	String? createBy;
	String? createById;
	String? createDate;
	String? dataSrc;
	String? dataSrcName;
	String? deleted;
	String? departmentId;
	String? effectiveTime;
	String? hazardCode;
	String? id;
	int? inspectionStatus;
	String? instrumentId;
	int? isApprove;
	int? isUpload;
	String? riskEventId;
	String? riskEventName;
	String? riskMeasureId;
	String? riskMeasureName;
	String? overdueQuantityNum;
	String? riskObjectId;
	String? riskObjectName;
	String? riskUnitId;
	String? riskUnitName;
	String? season;
	int? status;
	String? taskNum;
	String? taskStatus;
	List<JobResponsibilitiesListTaskTimeNodeTables>? taskTimeNodeTables;
	String? troubleshootContent;
	String? updateBy;
	String? updateById;
	String? updateDate;
	String? userId;
	String? warehouseId;
	String? workDayType;
	String? workDayTypeLabel;
	JobResponsibilitiesListWorkEndTime? workEndTime;
	String? workKind;
	List<JobResponsibilitiesListWorkKindCycleChangeList>? workKindCycleChangeList;
	String? workKindLabel;
	JobResponsibilitiesListWorkStartTime? workStartTime;
	String? workType;

	Map<String, dynamic> toJson() => $JobResponsibilitiesListEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class JobResponsibilitiesListTaskTimeNodeTables {

	JobResponsibilitiesListTaskTimeNodeTables();

	factory JobResponsibilitiesListTaskTimeNodeTables.fromJson(Map<String, dynamic> json) => $JobResponsibilitiesListTaskTimeNodeTablesFromJson(json);
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	String? departmentId;
	int? executingOrNot;
	int? hasItBeenClaimed;
	String? id;
	String? recipientId;
	String? recipientName;
	String? recipientPhone;
	int? remember;
	String? startDate;
	String? taskProgrammeId;
	String? tbBaseControlMeasuresId;
	String? tbBaseMeasuresTaskId;
	String? tbBaseRiskEventsId;
	String? tbBaseRiskObjectId;
	String? tbBaseRiskUnitId;
	String? troubleshootContent;
	String? updateBy;
	String? updateById;
	String? updateDate;
	String? validityPeriodEndTime;
	String? validityPeriodStartTime;

	Map<String, dynamic> toJson() => $JobResponsibilitiesListTaskTimeNodeTablesToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class JobResponsibilitiesListWorkEndTime {

	JobResponsibilitiesListWorkEndTime();

	factory JobResponsibilitiesListWorkEndTime.fromJson(Map<String, dynamic> json) => $JobResponsibilitiesListWorkEndTimeFromJson(json);
	int? hour;
	int? minute;
	int? nano;
	int? second;

	Map<String, dynamic> toJson() => $JobResponsibilitiesListWorkEndTimeToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class JobResponsibilitiesListWorkKindCycleChangeList {

	JobResponsibilitiesListWorkKindCycleChangeList();

	factory JobResponsibilitiesListWorkKindCycleChangeList.fromJson(Map<String, dynamic> json) => $JobResponsibilitiesListWorkKindCycleChangeListFromJson(json);
	String? attribute;
	String? checkCycle;
	String? checkCycleUnit;
	String? checkCycleUnitLabel;
	String? createBy;
	String? createDate;
	String? deleted;
	String? endTime;
	String? executeType;
	String? executeTypeLabel;
	JobResponsibilitiesListWorkKindCycleChangeListHourEndTime? hourEndTime;
	JobResponsibilitiesListWorkKindCycleChangeListHourStartTime? hourStartTime;
	String? id;
	String? startTime;
	String? status;
	String? taskId;
	String? updateBy;
	String? updateDate;

	Map<String, dynamic> toJson() => $JobResponsibilitiesListWorkKindCycleChangeListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class JobResponsibilitiesListWorkKindCycleChangeListHourEndTime {

	JobResponsibilitiesListWorkKindCycleChangeListHourEndTime();

	factory JobResponsibilitiesListWorkKindCycleChangeListHourEndTime.fromJson(Map<String, dynamic> json) => $JobResponsibilitiesListWorkKindCycleChangeListHourEndTimeFromJson(json);
	int? hour;
	int? minute;
	int? nano;
	int? second;

	Map<String, dynamic> toJson() => $JobResponsibilitiesListWorkKindCycleChangeListHourEndTimeToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class JobResponsibilitiesListWorkKindCycleChangeListHourStartTime {

	JobResponsibilitiesListWorkKindCycleChangeListHourStartTime();

	factory JobResponsibilitiesListWorkKindCycleChangeListHourStartTime.fromJson(Map<String, dynamic> json) => $JobResponsibilitiesListWorkKindCycleChangeListHourStartTimeFromJson(json);
	int? hour;
	int? minute;
	int? nano;
	int? second;

	Map<String, dynamic> toJson() => $JobResponsibilitiesListWorkKindCycleChangeListHourStartTimeToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class JobResponsibilitiesListWorkStartTime {

	JobResponsibilitiesListWorkStartTime();

	factory JobResponsibilitiesListWorkStartTime.fromJson(Map<String, dynamic> json) => $JobResponsibilitiesListWorkStartTimeFromJson(json);
	int? hour;
	int? minute;
	int? nano;
	int? second;

	Map<String, dynamic> toJson() => $JobResponsibilitiesListWorkStartTimeToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
